import { getRequest, postRequest } from '@/lib/axios';

export const loginApi = {
  /**
   * 登录
   * @param param
   */
  login: (param:any) => {
    return postRequest('/admin-api/sys/user/login', param);
  },
  getLoginInfo: () => {
    return getRequest('/admin-api/sys/user/getUserInfo')
  },
};
